package com.ihr360.payroll.dao;

import com.ihr360.payroll.model.dto.salary.report.HistorySalaryPlan;
import com.ihr360.rest.reposity.SimpleRestReposity;

import java.util.List;

public interface HistorySalaryPlanRepository extends SimpleRestReposity<HistorySalaryPlan, Long> {

    List<HistorySalaryPlan> findByCompanyId(String companyId);

    List<HistorySalaryPlan> findByCompanyIdAndMonthCycle(String companyId,boolean monthCycle);

    List<HistorySalaryPlan>  findByCompanyIdAndIdIn(String companyId,List<Long> ids);
}